package model

import "gorm.io/gorm"

type SysAuthorityObj struct {
	gorm.Model
	AuthorityId string       `json:"-" gorm:"comment:角色ID"`
	Key           string     `json:"key" form:"key" gorm:"column:key;comment:key;type:varchar(50);size:50"`
	Value         string     `json:"value" form:"value" gorm:"column:value;comment:value;key;type:varchar(256);size:256;"`
}

func (s SysAuthorityObj) TableName() string {
	return "sys_authority_obj"
}
